package com.zjg.dao;

import java.util.List;
import java.util.Map;

import com.common.entity.A_complain;
import com.common.entity.PageBean;

public interface ComplainDao {
	
	public List<A_complain> findByCondition(Map<String, Object> map);
	
	public PageBean<A_complain> findPageByCondition(int pageIndex,int pageSize,Map<String, Object> map);
	
	public A_complain findById(Integer id);
	
	public Object saveComplain(A_complain entity);
	
	public int updateComplain(A_complain entity);
	
	public int deleteComplaine(Integer id);
}
